/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.zx.examination.room.scene.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.zx.examination.room.scene.entity.TexaminationRoomScene;
import com.jeesite.modules.zx.examination.room.scene.dao.TexaminationRoomSceneDao;

/**
 * 考试考场场次Service
 * @author zpp
 * @version 2020-03-23
 */
@Service
@Transactional(readOnly=true)
public class TexaminationRoomSceneService extends CrudService<TexaminationRoomSceneDao, TexaminationRoomScene> {
	
	/**
	 * 获取单条数据
	 * @param texaminationRoomScene
	 * @return
	 */
	@Override
	public TexaminationRoomScene get(TexaminationRoomScene texaminationRoomScene) {
		return super.get(texaminationRoomScene);
	}
	
	/**
	 * 查询分页数据
	 * @param texaminationRoomScene 查询条件
	 * @param texaminationRoomScene.page 分页对象
	 * @return
	 */
	@Override
	public Page<TexaminationRoomScene> findPage(TexaminationRoomScene texaminationRoomScene) {
		return super.findPage(texaminationRoomScene);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param texaminationRoomScene
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(TexaminationRoomScene texaminationRoomScene) {
		super.save(texaminationRoomScene);
	}
	
	/**
	 * 更新状态
	 * @param texaminationRoomScene
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(TexaminationRoomScene texaminationRoomScene) {
		super.updateStatus(texaminationRoomScene);
	}
	
	/**
	 * 删除数据
	 * @param texaminationRoomScene
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(TexaminationRoomScene texaminationRoomScene) {
		super.delete(texaminationRoomScene);
	}
	
}